package com.cloudsea.yunhaistores.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "添加新桌台的请求DTO")
public class TableAddDTO {

    @NotNull(message = "必须指定所属门店ID")
    @Schema(description = "要将桌台添加到哪个门店下", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long storeId;

    @NotBlank(message = "桌台名称不能为空")
    @Schema(description = "桌台的名称或编号，例如 'A1' 或 '靠窗雅座'", requiredMode = Schema.RequiredMode.REQUIRED)
    private String tableName;
}
